local avl = require "bfmoon.avl"

local tests = {}

function tests.insertion()
	local values = {8,6,7,4,12,13,10}
	local tree = avl:new_multi(values)
	print(tree)
	tree:insert_multi{3,2,5}
	print(tree)
end

function tests.all()
	for name, test in pairs(tests) do
		if name ~= "all" then
			print("running test "..name)
			test()
		end
	end
end

return tests
